/**
  ******************************************************************************
  * @file    main.h
  * @author  MCU Application Team
  * @Version V1.0.0
  * @Date	2020-10-19
  * @brief   Header for main.c file.
  *          This file contains the common defines of the application.
  ******************************************************************************
  */

/* Define to prevent recursive inclusion -------------------------------------*/
#ifndef __MAIN_H
#define __MAIN_H

#ifdef __cplusplus
extern "C" {
#endif

/* Includes ------------------------------------------------------------------*/
#include "stdint.h"
#include "py32f0xx_hal.h"
#include "py32f003xx_Start_Kit.h"


#define __AT_RAM __attribute__((used, section("RAMCODE")))
//#define MDK_DEBUG
//#define UART_DEBUG

#define WDG_EN  0


void DebugPortConfig(void);
void Error_Handler(void);
void MC_6StepCmp_1msTimerUpdateIsr(void);

#ifdef __cplusplus
}
#endif

#endif /* __MAIN_H */

